﻿/**
 * 信息管理页面
 */


(function(){
	Ext.ns('com.hp.demo.vteam.components');
	com.hp.demo.vteam.components.AccountPage = Ext.extend(Ext.Panel,{
		initComponent:function()
		{
			Ext.apply(this,{
				layout:{
					type:'vbox',
					align:'left',
					padding:'10px'
				},
				fullscreen:true,
				flex:1,
				baseCls: 'vteam_display_panel',
				items:[
					{
						xtype:'logo',
						componentId:com.hp.demo.vteam.dict.ID.ACCOUNT_GROUP,
						logoTitle:com.hp.demo.vteam.dict.LOGO_TITLE[com.hp.demo.vteam.dict.ID.ACCOUNT_GROUP],
						logoImage:'tag_account_group.jpg',
						subitems:[{title:com.hp.demo.vteam.dict.ITEM.quick_create,command:function(){
							com.hp.demo.vteam.base.Action('CreateAccountGroup',com.hp.demo.vteam.dict.FUNC_TITLE.CreateAccountGroup);
						}}]
					},
					{
						xtype:'logo',
						componentId:com.hp.demo.vteam.dict.ID.ACCOUNT_MANAGER,
						logoTitle:com.hp.demo.vteam.dict.LOGO_TITLE[com.hp.demo.vteam.dict.ID.ACCOUNT_MANAGER],
						logoImage:'tag_account_management.jpg',
						subitems:[{title:com.hp.demo.vteam.dict.ITEM.quick_create,command:function(){
							com.hp.demo.vteam.base.Action('CreateAccountManager',com.hp.demo.vteam.dict.FUNC_TITLE.CreateAccountManager);
						}}]
					}
				]
			});
			com.hp.demo.vteam.components.AccountPage.superclass.initComponent.call(this);
		}
	});
	return com.hp.demo.vteam.components.AccountPage;
})();
